﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TMS_Master.DTO.Personnel;
using TMS_Master.Personnel_module;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace TMS_Master
{
   public interface IPersonnelService : ICrudAppService< //Defines CRUD methods
            PersonnelDTO, //Used to show books
            Guid, //Primary key of the book entity
            PagedAndSortedResultRequestDto, //Used for paging/sorting
            PersonnelDTOText> //Used to create/update a book
    {
        Task<List<PersonnelDTO>> GetPersonnel();//员工登记显示
        Task<int> AddPersonnel(PersonnelDTO personnel);//新增员工
        Task DelPersonnel(Guid Id);//删除员工
        Task<PersonnelDTO> FanPersonnel(Guid Id);//反填
        Task<int> UptPersonnel(PersonnelDTO personnel);//修改
    }
}
